﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example10_Csharp
{
    public interface IA
    {
        void m1();
    }
    public class C : IA
    {
       public void m1()
        {
            Console.WriteLine("interface A");
        }
        public void m2()
        {
            Console.WriteLine("hello");
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            IA a = new C();
            a.m1();
        }
    }
}
